<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>详情</title>
    <meta name="pragma" content="no-cache">
    <meta name="cache-control" content="no-cache">
    <meta name="content-type" content="text/html;charset=UTF-8">
    <meta name="expires" content="0">
    <div th:replace="~{commons/script::script}"></div>
</head>

<body style="width:100%;max-width:600px;padding:30px 60px;">
<section class="info-section">
    <form id="form" method="post">
        <table>
            <tr>
                <td class="text-title">产品名称：</td>
                <td class="text-content">
                    <input type="text" th:value="${product.name}"
                           class="easyui-textbox theme-textbox-radius"
                           data-options="readonly:true">
                </td>
            </tr>
            <tr>
                <td class="text-title">详情链接：</td>
                <td class="text-content">
                    <input type="text" th:value="${product.link}"
                           class="easyui-textbox theme-textbox-radius" data-options="readonly:true">
                </td>
            </tr>

            <tr>
                <td class="text-title">创建人：</td>
                <td class="text-content">
                    <input type="text" th:value="${product.creatorUserId}"
                           class="easyui-textbox theme-textbox-radius" data-options="readonly:true">
                </td>

            </tr>

            <tr>
                <td class="text-title">创建时间：</td>
                <td class="text-content">
                    <input type="text" th:value="${product.createTime}"
                           class="easyui-textbox theme-textbox-radius" data-options="readonly:true">
                </td>
            </tr>
            <tr>
                <td class="text-title">更新时间：</td>
                <td class="text-content">
                    <input type="text" th:value="${product.updateTime}"
                           class="easyui-textbox theme-textbox-radius" data-options="readonly:true">
                </td>
            </tr>
            <tr>
                <td class="text-title">成本价格：</td>
                <td class="text-content">
                    <input type="text" th:value="${product.costPrice}"
                           class="easyui-textbox theme-textbox-radius" data-options="readonly:true">
                </td>
            </tr>
            <tr>
                <td class="text-title">建议价格：</td>
                <td class="text-content">
                    <input type="text" th:value="${product.suggestedPrice}"
                           class="easyui-textbox theme-textbox-radius" data-options="readonly:true">
                </td>
            </tr>

            <!--<tr>
                <td colspan="2" style="text-align: center;margin-top: 10px;">
                    <a href="javascript:void(0);" id="saveBtn" class="easyui-linkbutton button-primary">确定</a>
                </td>
            </tr>-->
        </table>
    </form>
</section>
<script type="text/javascript">
    /*$(function() {

        //为保存按钮添加事件
        $("#saveBtn").on("click",function(event){
            history.go(-1);
        });
    });*/

</script>
</body>
</html>

